<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> {Bet_Title} (List) </title>
<link rel="stylesheet" href="../../css/backend.css" type="text/css">
<link rel="stylesheet" href="../../css/mem_report.css" type="text/css">
<script language="JavaScript1.2" type="text/javascript" src="/inc/admin_envirset.js"></script>
<script language="JavaScript">
<!--
strRowClassName = "ccen";
function Subs(){
	with(document.SubForm){
		submit();
	}
}

function Page(intPage){
	with(document.{SubmitForm}){
		Page.value = intPage;
		submit();
	}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<form action="Sub_index.php" method="get" name="SubForm">
	<input type="hidden" name="op" value="List">
	<input type="hidden" name="Types" value="{Types}">
	<input type="hidden" name="SubID" value="{SubID}">
	<input type="hidden" name="MainID" value="{MainID}">
	<input type="hidden" name="LottoID" value="{LottoID}">
	<input type="hidden" name="Bet_Type" value="{Bet_Type}">
	<input type="hidden" name="PayupDate_0" value="{PayupDate_0}">
	<input type="hidden" name="PayupDate_1" value="{PayupDate_1}">
	<input type="hidden" name="GambleID" value="{GambleID}">
</form>

<form method="get" Action="Bet_List.php" name="ListForm">
	<input type="hidden" name="totalpage" value="{TotalPage}">
	<input type="hidden" name="Page" value="{PageNow}">
	<input type="hidden" name="MemID" value="{MemID}">
	<input type="hidden" name="SubID" value="{SubID}">
	<input type="hidden" name="MainID" value="{MainID}">
	<input type="hidden" name="LottoID" value="{LottoID}">
	<input type="hidden" name="GambleID" value="{GambleID}">
	<input type="hidden" name="Bet_Type" value="{Bet_Type}">
	<input type="hidden" name="PayupDate_0" value="{PayupDate_0}">
	<input type="hidden" name="PayupDate_1" value="{PayupDate_1}">
	<input type="hidden" name="Types" value="{Types}">
	<input type="hidden" name="WagerType" value="{WagerType}">
</form>

<form action="Bet_List.php" method="Get" name="BetForm">
	<input type="hidden" name="totalpage" value="{TotalPage}">
	<input type="hidden" name="Page" value="{PageNow}">
	<input type="hidden" name="ops" value="{Gops}">
	<input type="hidden" name="Types" value="Start">
	<input type="hidden" name="GambleID" value="{GambleID}">
	<input type="hidden" name="Number" value="{Number}">
	<input type="hidden" name="LottoID" value="{LottoID}">
	<input type="hidden" name="Bet_Type" value="{Bet_Type}">
	<input type="hidden" name="WagerType" value="{WagerType}">
</form>

<table width="900" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Bet_Title} -- {Bet_Lotto}{SelectLotto} -- {Bet_DateRange} : {PayupDate_0} ~ {PayupDate_1} -- {Bet_BetType} : {SelectBetType} -- {TotalPages}: 
      <select onChange="Page(this.value)">
		<!--@ SelectPage Start @//--><option value="{SelectPage}" {Selected}>{SelectPage}</option><!--@ SelectPage End @//--></select>
      /{TotalPage}{Bet_Page} -- 
      <input type="button" value="{BackContent}" class="zabutton" onclick="{BackLink}">
    </td>
  </tr>
</table>

<div class="ctabdv"> 
  <table border="0" cellspacing="1" cellpadding="0" class="ctab">
    <tr class="ctiport"> 
      <td width="90">{Bet_BetTime}</td>
      <td width="80">{Bet_Commission}</td>
      <td width="80">{Bet_BetTypeList}</td>
      <td width="170">{Bet_BetContent}</td>
      <td width="70">{Bet_Stakes}</td>
      <td width="70">{Bet_BetResult}</td>
    </tr>
<!--@ BetList Start @//-->
    <tr class="ccen" style="vertical-align: middle">
      <td align="left">{Show_BetDate}&nbsp;{Show_BetTime}<br />{Show_BetNo}</td>
      <td align="right">{Show_Account}</td>
      <td align="left">{Show_BetType}</td>
      <td align="left">{Show_Content}</td>
      <td align="right">{Show_MemStake}</td>
      <td align="right">{Show_SubIncome}</td>
    </tr>
<!--@ BetList End @//-->
    <tr class="cmsto"> 
      <td colspan="3">{Total}</td>
      <td>{SumTotals}</td>
      <td>{SumMemStake}</td>
      <td>{SumSubIncome}</td>
    </tr>
  </table>
</div>
<a class="redtext_hard">*{TimeZone}</a>

<!--@ ShowAgent Start @//-->
<br />
<div class="ctabdv"> 
  <table border="0" cellspacing="1" cellpadding="0" class="ctab">
    <tr class="cmto"> 
      <td colspan="6" align="center">{Sum}</td>
    </tr>
    <tr class="ctiport"> 
      <td width="90">&nbsp;</td>
      <td width="80">&nbsp;</td>
      <td width="80">{Bet_Agent}</td>
      <td width="170">{Bet_AgentNo}</td>
      <td width="70">{Bet_AgentStakes}</td>
      <td width="70">{Bet_AgentResult}</td>
    </tr>
    <tr class="cmsto"> 
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>{Show_SubAccount}</td>
      <td>{Sub_Nos}</td>
      <td>{Sub_MS}</td>
      <td>{Sub_SR}</td>
    </tr>
  </table>
</div>
<!--@ ShowAgent End @//-->

</body>
</html>